package com.fei.mapper;

import com.fei.bean.AdminBean;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminMapper {

    public AdminBean selectOneName(String name);

    public Integer validateName(String name);

    public Integer validatePhone(String phone);

    public int registerAdmin(AdminBean admin);

}
